#include"List.h"
void test1()
{
	SL s;
	SLinit(&s);
	SLpush(&s, 1);
	SLpush(&s, 2);
	printf("%d ", STTop(&s));
	SLpop(&s);
	SLpush(&s, 3);
	SLpush(&s, 4);
	SLpush(&s, 5);
	//SLprin(&s);
	while (!STEmpyt(&s))
	{
		printf("%d ", STTop(&s));
		SLpop(&s);
	}
	SLDestroy(&s);
}
int main()
{
	test1();
	return 0;
}